<?php foreach ($hotel as $key => $val): ?>
<li>
    <a href="<?php echo $val->url;?>" class="am-cf">
        <div class="pic">
            <img src="/skins/home/images/load.jpg" data-original="<?php echo $val->pic;?>" class="lazy"/ ">
        </div>
        <div class="detail">
            <p class="text-overflow title"><?php echo $val->name;?></p>
            <div class="pub">
                <span class="pub_rate"><i><?php echo $val->feedback_rate;?>%</i>好评率</span>
                <span class="pub_lstxt"><?php echo $val->star;?></span>
            </div>
            <div class="am-cf price-wrap">
                <div class="left tags">
                    <?php if ($val->type == 3): ?>
                        <span>积分可抵</span>
                    <?php endif ?>
                </div>
                <div class="right price"><span><i>￥</i><?php echo $val->min_price;?></span>起</div>
            </div>
            <div class="bottom">
                <div class="pub-address"><?php echo $val->area_id;?></div>
                <div class="pub-comment"><?php echo $val->feedback_count;?>条用户点评</div>
            </div>
        </div>
    </a>
</li>
<?php endforeach ?>